package com.jd.basic;

import com.jd.org.domain.Department;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 分页数据返回对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {
    //总条数
    private Long totals = 0L;
    //分页数据
    private List<T> rows = new ArrayList<>();

    
}
